WPFront\Notification_Bar\WPFront_Notification_Bar_Controller D

Total Complexity 178
Dependencies 3
Dependents 2
Total lines 809
Lines of code 606
Logical lines of code 370
Comment lines 50
Methods 42
Properties 8

Methods 42

Method Rating Maintainability Complexity Lines of code
filter()
C
33 30 97
doing_ajax()
B
49 19 30
enqueue_scripts()
A
50 12 26
start_date_time()
A
46 11 39
get_filter_objects()
A
45 10 41
filter_pages_contains()
A
48 8 31
write_markup()
A
44 6 47
set_landingpage_cookie()
S
60 7 12
write_debug_logs()
S
51 6 27
get_message_text()
S
56 5 18
get_button_text()
S
58 5 16
enabled()
S
57 4 18
init()
S
58 4 16
write_load_script()
S
54 3 29
settings_updated()
S
60 4 14
is_user_logged_in()
S
68 4 7
display_on_page_load()
S
70 4 6
is_preview_mode()
S
67 3 8
__construct()
S
67 3 7
enqueue_styles()
S
64 3 9
check_preview_mode()
S
68 3 7
get_log_prefix()
S
67 2 8
get_preview_name()
S
68 2 7
get_role_objects()
S
64 2 10
enqueue_options_scripts()
S
58 1 14
log()
S
75 1 4
get_preview_url()
S
78 1 3
get_entity_id()
S
82 1 3
get_lang_domain()
S
81 1 3
get_options()
S
82 1 3
get_plugin_file()
S
82 1 3
message_allowed_html()
S
74 1 4
get_menu_slug()
S
82 1 3
remove_preview_mode()
S
78 1 3
get_html_id_suffix()
S
82 1 3
enqueue_options_styles()
S
63 1 10
get_wpml_string()
S
77 1 3
register_wpml_string()
S
78 1 3
view()
S
76 1 4
admin_footer_text()
S
80 1 3
custom_css_url()
S
81 1 3
set_preview_mode()
S
75 1 4